#pragma once
#include "PlayerState.h"
class Sprite;
class OnGroundState : public PlayerState
{
	Sprite* _sGoLeft;
	Sprite* _sGoRight;
	Sprite* _sII;
	Sprite* _sI;
	Sprite* _sIII;
	Sprite* _sIV;	
	Sprite* _sLieLeft;//
	Sprite* _sLieRight;
	Sprite* _sLieShootLeft;
	Sprite* _sLieShootRight;
	Sprite* _sShootLeft;
	Sprite* _sShootRight;
	Sprite* _sStandLeft;
	Sprite* _sStandRight;
	Sprite* _sShootTopLeft;
	Sprite* _sShootTopRight;
	Sprite* _sStandTopLeft;
	Sprite* _sStandTopRight;
	Sprite* _sGoShootLeft;
	Sprite* _sGoShootRight;	
	bool _isJumping;
	bool _isLie;
public:	
	OnGroundState(Player* p);
	~OnGroundState(void);

	PLAYER_STATE handleInput(float time);
	void setJumpDirection(JUMP_DIRECTION j);
	void setCollisionBox();
};

